package com.fortune.rainshine.feign.system;

import com.fortune.rainshine.config.FeignConfig;
import com.fortune.rainshinecommon.base.MsgModel;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;


/**
 * 〈一句话功能简述〉<br>
 * 〈登录服务〉
 *
 * @author Administrator
 * @create 2018/10/26
 * @since 1.0.0
 */
@FeignClient(value = "rain-shine-system",configuration = FeignConfig.class)
@RestController
public interface LoginFeign {

    @RequestMapping(value = "/login/login",method = RequestMethod.GET)
    MsgModel<?> login(@RequestParam(value = "id") Integer id);

}
